/*
 * LocalThread is designed to handle the local execuation of the BeautyRoxy system.
 * It basically involves the execution of every part of the system except for the Google
 * synchronization, which will be monitored by the class GCalThread.
 * 
 * LocalThread extends Thread for the purpose of multithreading. 
 */
// @author A0105514U
/** @author A0105514U */

package global;

import userInterface.GraphicalUI;

public class LocalThread extends Thread{
		GraphicalUI GUI;
		public LocalThread(){
			GUI = new GraphicalUI();
			GUI.getEnterCommand().requestFocus();
			start();
		}
		
		public void run(){
			try {
				GUI.execute();
				Thread.sleep(200);
				this.run();
			} catch (InterruptedException e) {
				
			}
		}
	}